Merged
Conversation
- Jekyll の規約に従い、_ プレフィックスでビルドから自動除外 - 内部データやアーカイブスクリプトを本番環境から隔離
- すべての Ruby タスクスクリプトを _tasks/ ディレクトリに移動 - cache_dojo_logos.rb - compact_geojson.rb - get_data_from_earth.rb - get_data_from_japan.rb - upsert_dojos_geojson.rb - Rakefile を更新して _tasks/ 内のスクリプトを参照 - Jekyll の規約に従い、_ プレフィックスでビルドから除外 これによりプロジェクトのルートディレクトリをクリーンに保ち、 タスクスクリプトを体系的に管理
_tasks/ に移動した Ruby スクリプトを exclude リストから削除: - get_data_from_earth.rb - get_data_from_japan.rb - upsert_dojos_geojson.rb - compact_geojson.rb これらは既に _tasks/ ディレクトリにあり、Jekyll の規約により 自動的に除外されるため、明示的な exclude は不要
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
プロジェクトのルートディレクトリをクリーンに保つため、すべての Ruby タスクスクリプトを
_tasks/ディレクトリに移動します。変更内容
ファイルの移動
以下のスクリプトを
_tasks/ディレクトリに移動:cache_dojo_logos.rb→_tasks/cache_dojo_logos.rbcompact_geojson.rb→_tasks/compact_geojson.rbget_data_from_earth.rb→_tasks/get_data_from_earth.rbget_data_from_japan.rb→_tasks/get_data_from_japan.rbupsert_dojos_geojson.rb→_tasks/upsert_dojos_geojson.rbRakefile の更新
_tasks/内のスクリプトを参照するように変更効果
_プレフィックスでビルドから自動除外)動作確認